package com.zbkj.service.service;

import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.model.agent.CommunityStatRecordOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.request.CommunityStatRecordOrderSaveRequest;
import com.zbkj.common.request.CommunityStatRecordOrderSearchRequest;
import com.zbkj.common.response.CommunityStatRecordOrderPageDataResponse;
import com.zbkj.common.response.CommunityStatRecordOrderDetailResponse;

import java.util.List;
/**
* @author Caiyc
* @description CommunityStatRecordOrderService 接口
* @date 2025-07-24
*/
public interface CommunityStatRecordOrderService extends IService<CommunityStatRecordOrder> {

    Boolean create(CommunityStatRecordOrderSaveRequest communityStatRecordOrderSaveRequest);

    /**
     * 分页查询小区分红统计排名订单表
     * @param request 查询条件
     * @param pageParamRequest 分页对行
     * @return 查询结果
     */
    List<CommunityStatRecordOrderPageDataResponse> getList(CommunityStatRecordOrderSearchRequest request, PageParamRequest pageParamRequest);

    /**
    * 修改小区分红统计排名订单表
    * @param communityStatRecordOrderRequest
    * @return
    */
    boolean update(CommunityStatRecordOrderSaveRequest communityStatRecordOrderRequest);

    /**
    * 批量删除
    * @param idList
    * @return
    */
    boolean batchDelete(List<Integer> idList);

    /**
    * 查询溯源套餐表详情
    * @param id
    * @return
    */
    CommunityStatRecordOrderDetailResponse getDetails(Integer id);

}